package interfaces.interface2;

public class Test extends B implements C {
    public void pX() {
        System.out.println(C.x);
        System.out.println(super.x);
    }
    public static void main(String[] args) {
        new Test().pX();
    }
}

class B {
    int x = 1;
}

interface C {
    int x = 2;
}
